<template>
  <view>
    <view class="u-flex storeProducts-name" :style="{top:`${tops}rpx`}">
      <text>{{title}}</text>
    </view>
  </view>
</template>

<script>
export default {
  name: '',
  props: {
    tops:{
      type:[Number,String],
      default:'20'
    },
    title:{
       type:[Number,String],
      default:'标题'
    }
  },
  components: {},
  data () {
    return {

    }
  },
  created () {

  },
  methods: {

  }
}
</script>

<style lang="scss" scoped>

.storeProducts-name {
  position: relative;
  width: 100%;
  padding: 2rpx 14rpx;
  background-color: pink;
}
</style>
